package system_configuration_service

import (
	"gitee.com/Luna-CY/Golang-Project-Template/internal/interface/dao"
	"gitee.com/Luna-CY/Golang-Project-Template/internal/service"
)

func New(configuration dao.SystemConfiguration) *Configuration {
	return &Configuration{
		BaseService:   service.New(configuration),
		configuration: configuration,
	}
}

type Configuration struct {
	*service.BaseService
	configuration dao.SystemConfiguration
}
